package com.ilink.groundservice.entity.PO.study.course;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @TableName note_video
 * 视频笔记表
 */
@TableName(value ="note_video")
@Data
public class NoteVideo implements Serializable {
    @TableId(type = IdType.INPUT)
    private Long noteId;

    @TableField("coursesource_id")
    private Long coursesourceId;

    private String userId;

    private String noteContent;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatedAt;

    private Long courseId;

    private static final long serialVersionUID = 1L;
}